$OpenBSD: patch-src_global_cc,v 1.1 2017/04/26 14:58:38 naddy Exp $
--- src/global.cc.orig	Sat Jan 24 16:25:10 2009
+++ src/global.cc	Wed Apr 26 16:50:52 2017
@@ -371,7 +371,7 @@ int
 is_sid(const char *filename)
 {
 #ifdef HAVE_SIDPLAYER
-	char *ext = strrchr(filename, '.');
+	const char *ext = strrchr(filename, '.');
 	if (ext) {
 		if (!strcasecmp(ext, ".psid")) return 1;
 		if (!strcasecmp(ext, ".sid")) return 1;
